package itasura.singleton.innerclz;

/**
 * @author sailor wang
 * @date 2020/6/30 6:58 PM
 * @description
 */
public class Singleton {
    private Singleton(){}

    private static class SingletonHolder{
        private static final Singleton instance = new Singleton();
    }

    public static final Singleton getInstance(){
        return SingletonHolder.instance;
    }
}